package com.azhon.basic.storage.sqlite;

import org.litepal.crud.DataSupport;
import java.io.Serializable;

/**
 * 文件下载表
 */
public class DownLoadTable extends DataSupport implements Serializable {
    
    private Long id; //主键
    private String orderNo; //订单编号
    private String fileMd5; //文件的md5值
    private String fileName;
    private Long fileTotalSize;
    private Long fileCurrentSize;
    private String fileUrl; //下载url
    private String localPath; // 文件所在路径
    private boolean isComplete; // 0为未完成，1为已完成
    
    
    public String getFileName() {
        return fileName;
    }
    
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
    
    public Long getFileTotalSize() {
        return fileTotalSize;
    }
    
    public void setFileTotalSize(Long fileTotalSize) {
        this.fileTotalSize = fileTotalSize;
    }
    
    public Long getFileCurrentSize() {
        return fileCurrentSize;
    }
    
    public void setFileCurrentSize(Long fileCurrentSize) {
        this.fileCurrentSize = fileCurrentSize;
    }
    
    public String getFileUrl() {
        return fileUrl;
    }
    
    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }
    
    public String getLocalPath() {
        return localPath;
    }
    
    public void setLocalPath(String localPath) {
        this.localPath = localPath;
    }
    
    public boolean isDownComplete() {
        return isComplete;
    }
    
    public void setIsComplete(boolean isComplete) {
        this.isComplete = isComplete;
    }
    
    public String getFileMd5() {
        return fileMd5;
    }
    
    public void setFileMd5(String fileMd5) {
        this.fileMd5 = fileMd5;
    }
    
    public String getOrderNo() {
        return orderNo;
    }
    
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
}
